package net.toocruel.iqismart.entity.ask;

import net.toocruel.iqismart.entity.base.BaseEntity;

import javax.persistence.Entity;

/**
 * @Description
 * @Auther sty
 * @createTime 2018/5/8 上午11:35
 */
@Entity
public class Jobs extends BaseEntity {
    private static final long serialVersionUID = 1652672412285282557L;
    private String queue;
    private String payload;
    private byte attempts;
    private byte reserved;
    private Integer reservedAt;
    private int availableAt;


    public String getQueue() {
        return queue;
    }

    public void setQueue(String queue) {
        this.queue = queue;
    }

    public String getPayload() {
        return payload;
    }

    public void setPayload(String payload) {
        this.payload = payload;
    }

    public byte getAttempts() {
        return attempts;
    }

    public void setAttempts(byte attempts) {
        this.attempts = attempts;
    }

    public byte getReserved() {
        return reserved;
    }

    public void setReserved(byte reserved) {
        this.reserved = reserved;
    }

    public Integer getReservedAt() {
        return reservedAt;
    }

    public void setReservedAt(Integer reservedAt) {
        this.reservedAt = reservedAt;
    }

    public int getAvailableAt() {
        return availableAt;
    }

    public void setAvailableAt(int availableAt) {
        this.availableAt = availableAt;
    }
}
